package me.zhengjie.modules.service.impl.intell;

import lombok.RequiredArgsConstructor;
import me.zhengjie.modules.domain.intellectual.Website;
import me.zhengjie.modules.repository.intellectual.EnterIntWebSiteMapper;
import me.zhengjie.modules.service.intell.WebsiteService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("WebsiteService")
@RequiredArgsConstructor
public class WebsiteServiceImpl implements WebsiteService {

    private final EnterIntWebSiteMapper enterIntWebSiteMapper;

    @Override
    public List<Website> queryWebsiteByName(String name) {
        return enterIntWebSiteMapper.selectWebsiteByName(name);
    }
}
